
const Error = () => import(/* webpackChunkName: "Error" */ '@/components/error/index')
const NoControl = () => import(/* webpackChunkName: "NoControl" */ '@/components/error/noControl/noControl')
const NoResources = () => import(/* webpackChunkName: "NoResources" */ '@/components/error/noResources/noResources')
const error = [
  {
    path: '/error',
    component: Error,
    name: 'error',
    meta: { title: 'Error' },
    redirect: {
      name: 'noResources'
    },
    children: [
      {
        path: 'noControl',
        component: NoControl,
        name: 'noControl',
        meta: { title: '无访问权限' }
      },
      {
        path: 'noResources',
        component: NoResources,
        name: 'noResources',
        meta: { title: '没有找到资源' }
      }
    ]
  }
]
export default error
